package com.tttshaoqi.server.mapper;

import com.tttshaoqi.pojo.entity.Order;
import com.tttshaoqi.pojo.vo.OrderVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author tttshaoqi
 * &#064;create 2025-04-23-17:19
 */
@Mapper
public interface OrderMapper {

    List<OrderVO> list(LocalDateTime beginTime, LocalDateTime endTime, Integer status, Integer number,Integer id);

    void update(Integer status, Integer id);

    void add(Order order);

    List<Order> getByFID(Integer id);

    Integer getFId(Integer id);
}
